package tx.oopa.circuit.node;


public class PortNode extends AbstractEdgingNode implements NodeObserver {

    @Override
    public void update(AbstractNode node) {
        this.outputValue = this.component.setInput(node.getOutput());
        
        if(this.outputValue != null) {
            this.setChanged();
            this.notifyObservers();
        }
    }
}
